<template>
  <div>
    <lz-date-picker
      v-model="datePicker"
      :show-time="{
        format: 'HH:mm',
      }"
      :show-today="false"
      @change="dateChange"
      :disabledDate="disabledDate"
    ></lz-date-picker>
  </div>
</template>
<script>
import moment from "moment";
export default {
  data() {
    return {
      datePicker: "2020-10-10",
    };
  },
  created() {},
  mounted() {},
  methods: {
    dateChange(v) {
      console.log(v);
      console.log(this.datePicker);
    },
    disabledDate(current) {
      // Can not select days before today and today
      return current && current < moment().endOf("day");
    },
  },
};
</script>
<style></style>
